package com.atguigu.gmall.product;

import com.atguigu.gmall.common.config.Knife4jConfiguration;
import com.atguigu.gmall.common.config.minio.annotation.EnableMinio;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

/**
 * @author lhh
 * @ClassName ProductApplication
 * @date 2022 2022/11/29
 */

//@SpringBootApplication
//@EnableDiscoveryClient
//@EnableCircuitBreaker
@Import({Knife4jConfiguration.class})
@EnableFeignClients(basePackages = "com.atguigu.gamll.feign.search")
@EnableMinio
@MapperScan(basePackages = "com.atguigu.gmall.product.mapper")
@SpringCloudApplication
public class ProductApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProductApplication.class,args);
    }
}
